package com.qf.springbootopenapi.service;

import com.qf.springbootopenapi.entity.Api;
import com.qf.springbootopenapi.vo.ResultVo;
import com.qf.springbootopenapi.vo.TableVo;
import org.springframework.web.multipart.MultipartFile;

import java.io.IOException;

public interface ApiService {
    TableVo<Api> getApiByCondition(Integer page, Integer limit, Api api);
    
    ResultVo addApi(Api api);
    
    ResultVo updateApi(Api api);
    
    ResultVo delApi(Integer[] ids);
    
    ResultVo addApis(MultipartFile file) throws IOException;
}
